#pragma once

#include "rasterizer.h"
#include "polygon.h"

namespace sol9
{

	class renderer
	{
	private:
		rasterizer raster;

	public:
		bool initialize(hdc_ptr& hdc, const dimension2du& size);

		void beginScene();
		void endScene();

		void draw(polygon_ptr& p);
	};

}